package com.tianji.aigc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author wys
 * @version V1.0
 * @date 2025-04-22 21:58
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("chat_memory")
public class DBChatMemory implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String sessionId;
    private String messageType;
    private String metadata;
    private String media;
    private String toolCalls;
    private String textContent;
    private String toolResponses ;
    private String properties;
    private String params;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
